home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
10,000 Great Games
/
10,000 Great Games.iso
/
Product
/
66
/
data1.cab
/
Source_Files
/
Src
/
Line.cpp
< prev
next >
Wrap
C/C++ Source or Header
|
2000-01-16
|
434b
|
23 lines
#include "stdafx.h"
cLine::cLine(cLine **list, cLine *orig)
{
add_end((cList **)list);
copy(orig);
}
cLine::cLine(cLine **list, int _x1, int _y1, int _x2, int _y2, char *_label)
{
add_end((cList **)list);
x1 = _x1, y1 = _y1, x2 = _x2, y2 = _y2, label = _label;
}
void cLine::copy(cLine *orig)
{
ASSERT(orig != 0);
x1 = orig->x1, y1 = orig->y1, x2 = orig->x2, y2 = orig->y2, label = orig->label;
}